package com.apartmentManage.service;

import com.apartmentManage.entity.Room;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoomService {
    /*批量添加*/
    /*层数，每层的房间数，开头房间号，每个房间居的人数楼栋号*/
    boolean saveList(Integer height,Integer perNumber,Integer headNo, Integer intoNumber,Integer apartmentNo);

    /*查询*/
    List<Room> getAll();

    /*根据apartmentNo查询*/
    List<Room> getByApartmentNo(Integer apartmentNo);
}
